Repository navigation
Say why a KVM live volume migration has no strategy - #14758
Open
bhouse-nexthop wants to merge 1 commit into
Open
bhouse-nexthop wants to merge 1 commit into
bhouse-nexthop wants to merge 1 commit into
Conversation
On KVM, migrateVirtualMachineWithVolume fails with "Can't find strategy to move data" when a volume's pool type can't be live migrated (e.g. Ceph RBD). The message gives no reason or next step. - KVM source host, no data motion strategy: the error now lists each volume with its source and destination pool (name and type) and says to stop the VM and migrate the volumes while it is stopped - other hypervisors: message unchanged - nothing about what is allowed changes - DataMotionServiceImplTest covers the KVM message, unknown pool types and the unchanged non-KVM message Signed-off-by: Brad House <bhouse@nexthop.ai>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.22 #14758 +/- ##
=========================================
Coverage 18.32% 18.32%
- Complexity 16644 16651 +7
=========================================
Files 5939 5939
Lines 537787 537804 +17
Branches 65932 65935 +3
=========================================
+ Hits 98544 98550 +6
- Misses 428033 428048 +15
+ Partials 11210 11206 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
On KVM,
migrateVirtualMachineWithVolumeon a running VM with a volume on a pool type KVM can't live migrate (e.g. Ceph RBD) fails withCan't find strategy to move data. The message gives no reason and no next step.Can't find strategy to move data. Source Host: host1, Destination Host: host2, Volume UUIDs: <uuid>,<uuid>KVM cannot live migrate the volumes of this running VM from host host1 to host host2 between these storage pools: <uuid> from ceph1 (RBD) to nfs1 (NetworkFilesystem), .... Stop the VM and migrate the volumes while it is stopped.main) adds KVM live migration for RBD and other pool types. Once it is merged forward, this message no longer shows up for the cases it covers.Fixes: #14757
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
DataMotionServiceImplTest: the KVM message, null or non-primary pool info, and the unchanged non-KVM messageKvmNonManagedStorageSystemDataMotionTeststill passesHow did you try to break this feature and the system with this change?
HashMap